Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optimize server browser #205

Draft
wants to merge 8 commits into
base: master
Choose a base branch
from
Draft

Optimize server browser #205

wants to merge 8 commits into from

Conversation

robalni
Copy link
Contributor

@robalni robalni commented Aug 23, 2020

These changes currently reduce the frame time of the server browser menu from 9.6 to 5.6 milliseconds on my computer.

The changes include two things: Simplified cubescript code and a new feature: {} blocks. The {} blocks are compiled directly in the compile phase and not treated as strings, that would be compiled on each frame when the code runs.

This is a work in progress and I don't know if this is the best solution. What do you think about it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant